show fetch and push url details for origin $ git remote show origin Set remote url to a different address $ git remote set-url origin {new_url}